<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".catalogs.CatalogFragment">

    <ProgressBar
        android:id="@+id/catalog_ProgressBar"
        style="?android:attr/progressBarStyle"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:visibility="gone" />

    <androidx.core.widget.NestedScrollView
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:fillViewport="true">

        <LinearLayout
            android:id="@+id/catalog_LinearLayout"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:orientation="vertical">

            <androidx.recyclerview.widget.RecyclerView
                android:id="@+id/catalog_NavigationList"
                android:name="org.readium.r2.testapp.catalogs.CatalogFragment"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginLeft="16dp"
                android:layout_marginRight="16dp"
                tools:context="org.readium.r2.testapp.catalogs.CatalogFragment"
                tools:listitem="@layout/item_recycle_button" />

            <androidx.recyclerview.widget.RecyclerView
                android:id="@+id/catalog_PublicationsList"
                android:name="org.readium.r2.testapp.catalogs.CatalogFragment"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                tools:context="org.readium.r2.testapp.catalogs.CatalogFragment"
                tools:listitem="@layout/item_recycle_catalog" />

            <androidx.recyclerview.widget.RecyclerView
                android:id="@+id/catalog_GroupList"
                android:name="org.readium.r2.testapp.catalogs.CatalogFragment"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                tools:context="org.readium.r2.testapp.catalogs.CatalogFragment"
                tools:listitem="@layout/item_group_view" />

        </LinearLayout>

    </androidx.core.widget.NestedScrollView>
</FrameLayout>